package com.icehand.payment.pay.wechat;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author icehand
 * create on 2018-06-15
 **/
@Data
public abstract class BaseWeChatPaymentResponse {
	@JSONField(name = "return_code")
	private String returnCode;
	@JSONField(name = "return_msg")
	private String returnMsg;


	public boolean isSuccess(){
		return "SUCCESS".equalsIgnoreCase(returnCode);
	}
}
